package com.example.sunsg.okhttptest.retrofit;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by sunsg on 16/8/8.
 */
public class UserInfo {

    /**
     * status : 0
     * message :
     * data : {"user_info":{"resident_city_id":288617,"relationship":99,"avatar_m":"http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.m","custom_url":"","birthday":"2016-04-06","followings_count":88,"avatar_s":"http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.s","country_code":null,"id":2387076450,"user_desc":"nxjxjxdkkdjic","location_name":"中国_北京","name":"Sunsg11","title":{"verified":false,"name":""},"mobile":"","gender":1,"cover":"http://photos.breadtrip.com/user_cover_2015_11_11_6a7e6b00a5d6113bd60a83edd0380c77d82c38a2.jpg-usercover.display","experience":{"value":2614,"level_info":{"name":"","value":5}},"followers_count":11,"points":682,"country_num":null,"avatar_l":"http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.l","email_verified":true,"is_hunter":false,"cdc2":false,"email":"443163748@qq.com"},"trips":{"total_count":61,"data":[{"waypoints":0,"wifi_sync":true,"total_comments_count":16,"id":2387148661,"view_count":659,"privacy":0,"day_count":160,"version":2,"liked_count":13,"spot_count":16,"mileage":0,"description":"","last_modified":1.46105011859251E9,"is_featured_trip":false,"cover_image_default":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/960/q/85","date_complete":1461050106,"device":4,"date_added":1447333137,"cover_image_w640":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/1384/h/1384/q/85","name":"我的面包故事","default":true,"cover_image_1600":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/640/h/480/q/85","is_hot_trip":false,"recommendations":0,"cover_image":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/280/h/280/q/75"}]}}
     */

    private int status;
    private String message;
    /**
     * user_info : {"resident_city_id":288617,"relationship":99,"avatar_m":"http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.m","custom_url":"","birthday":"2016-04-06","followings_count":88,"avatar_s":"http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.s","country_code":null,"id":2387076450,"user_desc":"nxjxjxdkkdjic","location_name":"中国_北京","name":"Sunsg11","title":{"verified":false,"name":""},"mobile":"","gender":1,"cover":"http://photos.breadtrip.com/user_cover_2015_11_11_6a7e6b00a5d6113bd60a83edd0380c77d82c38a2.jpg-usercover.display","experience":{"value":2614,"level_info":{"name":"","value":5}},"followers_count":11,"points":682,"country_num":null,"avatar_l":"http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.l","email_verified":true,"is_hunter":false,"cdc2":false,"email":"443163748@qq.com"}
     * trips : {"total_count":61,"data":[{"waypoints":0,"wifi_sync":true,"total_comments_count":16,"id":2387148661,"view_count":659,"privacy":0,"day_count":160,"version":2,"liked_count":13,"spot_count":16,"mileage":0,"description":"","last_modified":1.46105011859251E9,"is_featured_trip":false,"cover_image_default":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/960/q/85","date_complete":1461050106,"device":4,"date_added":1447333137,"cover_image_w640":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/1384/h/1384/q/85","name":"我的面包故事","default":true,"cover_image_1600":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/640/h/480/q/85","is_hot_trip":false,"recommendations":0,"cover_image":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/280/h/280/q/75"}]}
     */

    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * resident_city_id : 288617
         * relationship : 99
         * avatar_m : http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.m
         * custom_url :
         * birthday : 2016-04-06
         * followings_count : 88
         * avatar_s : http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.s
         * country_code : null
         * id : 2387076450
         * user_desc : nxjxjxdkkdjic
         * location_name : 中国_北京
         * name : Sunsg11
         * title : {"verified":false,"name":""}
         * mobile :
         * gender : 1
         * cover : http://photos.breadtrip.com/user_cover_2015_11_11_6a7e6b00a5d6113bd60a83edd0380c77d82c38a2.jpg-usercover.display
         * experience : {"value":2614,"level_info":{"name":"","value":5}}
         * followers_count : 11
         * points : 682
         * country_num : null
         * avatar_l : http://photos.breadtrip.com/avatar_42_38_82b1d61b4988d791e03e96d69e0e670c3db47073.jpg-avatar.l
         * email_verified : true
         * is_hunter : false
         * cdc2 : false
         * email : 443163748@qq.com
         */

        private UserInfoBean user_info;
        /**
         * total_count : 61
         * data : [{"waypoints":0,"wifi_sync":true,"total_comments_count":16,"id":2387148661,"view_count":659,"privacy":0,"day_count":160,"version":2,"liked_count":13,"spot_count":16,"mileage":0,"description":"","last_modified":1.46105011859251E9,"is_featured_trip":false,"cover_image_default":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/960/q/85","date_complete":1461050106,"device":4,"date_added":1447333137,"cover_image_w640":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/1384/h/1384/q/85","name":"我的面包故事","default":true,"cover_image_1600":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/640/h/480/q/85","is_hot_trip":false,"recommendations":0,"cover_image":"http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/280/h/280/q/75"}]
         */

        private TripsBean trips;

        public UserInfoBean getUser_info() {
            return user_info;
        }

        public void setUser_info(UserInfoBean user_info) {
            this.user_info = user_info;
        }

        public TripsBean getTrips() {
            return trips;
        }

        public void setTrips(TripsBean trips) {
            this.trips = trips;
        }

        public static class UserInfoBean {
            private int resident_city_id;
            private int relationship;
            private String avatar_m;
            private String custom_url;
            private String birthday;
            private int followings_count;
            private String avatar_s;
            private Object country_code;
            private long id;
            private String user_desc;
            private String location_name;
            private String name;
            /**
             * verified : false
             * name :
             */

            private TitleBean title;
            private String mobile;
            private int gender;
            private String cover;
            /**
             * value : 2614
             * level_info : {"name":"","value":5}
             */

            private ExperienceBean experience;
            private int followers_count;
            private int points;
            private Object country_num;
            private String avatar_l;
            private boolean email_verified;
            private boolean is_hunter;
            private boolean cdc2;
            private String email;

            public int getResident_city_id() {
                return resident_city_id;
            }

            public void setResident_city_id(int resident_city_id) {
                this.resident_city_id = resident_city_id;
            }

            public int getRelationship() {
                return relationship;
            }

            public void setRelationship(int relationship) {
                this.relationship = relationship;
            }

            public String getAvatar_m() {
                return avatar_m;
            }

            public void setAvatar_m(String avatar_m) {
                this.avatar_m = avatar_m;
            }

            public String getCustom_url() {
                return custom_url;
            }

            public void setCustom_url(String custom_url) {
                this.custom_url = custom_url;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public int getFollowings_count() {
                return followings_count;
            }

            public void setFollowings_count(int followings_count) {
                this.followings_count = followings_count;
            }

            public String getAvatar_s() {
                return avatar_s;
            }

            public void setAvatar_s(String avatar_s) {
                this.avatar_s = avatar_s;
            }

            public Object getCountry_code() {
                return country_code;
            }

            public void setCountry_code(Object country_code) {
                this.country_code = country_code;
            }

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public String getUser_desc() {
                return user_desc;
            }

            public void setUser_desc(String user_desc) {
                this.user_desc = user_desc;
            }

            public String getLocation_name() {
                return location_name;
            }

            public void setLocation_name(String location_name) {
                this.location_name = location_name;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public TitleBean getTitle() {
                return title;
            }

            public void setTitle(TitleBean title) {
                this.title = title;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public ExperienceBean getExperience() {
                return experience;
            }

            public void setExperience(ExperienceBean experience) {
                this.experience = experience;
            }

            public int getFollowers_count() {
                return followers_count;
            }

            public void setFollowers_count(int followers_count) {
                this.followers_count = followers_count;
            }

            public int getPoints() {
                return points;
            }

            public void setPoints(int points) {
                this.points = points;
            }

            public Object getCountry_num() {
                return country_num;
            }

            public void setCountry_num(Object country_num) {
                this.country_num = country_num;
            }

            public String getAvatar_l() {
                return avatar_l;
            }

            public void setAvatar_l(String avatar_l) {
                this.avatar_l = avatar_l;
            }

            public boolean isEmail_verified() {
                return email_verified;
            }

            public void setEmail_verified(boolean email_verified) {
                this.email_verified = email_verified;
            }

            public boolean isIs_hunter() {
                return is_hunter;
            }

            public void setIs_hunter(boolean is_hunter) {
                this.is_hunter = is_hunter;
            }

            public boolean isCdc2() {
                return cdc2;
            }

            public void setCdc2(boolean cdc2) {
                this.cdc2 = cdc2;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public static class TitleBean {
                private boolean verified;
                private String name;

                public boolean isVerified() {
                    return verified;
                }

                public void setVerified(boolean verified) {
                    this.verified = verified;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class ExperienceBean {
                private int value;
                /**
                 * name :
                 * value : 5
                 */

                private LevelInfoBean level_info;

                public int getValue() {
                    return value;
                }

                public void setValue(int value) {
                    this.value = value;
                }

                public LevelInfoBean getLevel_info() {
                    return level_info;
                }

                public void setLevel_info(LevelInfoBean level_info) {
                    this.level_info = level_info;
                }

                public static class LevelInfoBean {
                    private String name;
                    private int value;

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public int getValue() {
                        return value;
                    }

                    public void setValue(int value) {
                        this.value = value;
                    }
                }
            }
        }

        public static class TripsBean {
            private int total_count;
            /**
             * waypoints : 0
             * wifi_sync : true
             * total_comments_count : 16
             * id : 2387148661
             * view_count : 659
             * privacy : 0
             * day_count : 160
             * version : 2
             * liked_count : 13
             * spot_count : 16
             * mileage : 0
             * description :
             * last_modified : 1.46105011859251E9
             * is_featured_trip : false
             * cover_image_default : http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/960/q/85
             * date_complete : 1461050106
             * device : 4
             * date_added : 1447333137
             * cover_image_w640 : http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/2/w/1384/h/1384/q/85
             * name : 我的面包故事
             * default : true
             * cover_image_1600 : http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/640/h/480/q/85
             * is_hot_trip : false
             * recommendations : 0
             * cover_image : http://photos.breadtrip.com/photo_d_2015_10_26_14_50_37_803_6483441_1890305969.jpg?imageView/1/w/280/h/280/q/75
             */

            private List<TripDataBean> data;

            public int getTotal_count() {
                return total_count;
            }

            public void setTotal_count(int total_count) {
                this.total_count = total_count;
            }

            public List<TripDataBean> getData() {
                return data;
            }

            public void setData(List<TripDataBean> data) {
                this.data = data;
            }

            public static class TripDataBean {
                private int waypoints;
                private boolean wifi_sync;
                private int total_comments_count;
                private long id;
                private int view_count;
                private int privacy;
                private int day_count;
                private int version;
                private int liked_count;
                private int spot_count;
                private double mileage;
                private String description;
                private double last_modified;
                private boolean is_featured_trip;
                private String cover_image_default;
                private float date_complete;
                private int device;
                private float date_added;
                private String cover_image_w640;
                private String name;
                @SerializedName("default")
                private boolean defaultX;
                private String cover_image_1600;
                private boolean is_hot_trip;
                private int recommendations;
                private String cover_image;

                public int getWaypoints() {
                    return waypoints;
                }

                public void setWaypoints(int waypoints) {
                    this.waypoints = waypoints;
                }

                public boolean isWifi_sync() {
                    return wifi_sync;
                }

                public void setWifi_sync(boolean wifi_sync) {
                    this.wifi_sync = wifi_sync;
                }

                public int getTotal_comments_count() {
                    return total_comments_count;
                }

                public void setTotal_comments_count(int total_comments_count) {
                    this.total_comments_count = total_comments_count;
                }

                public long getId() {
                    return id;
                }

                public void setId(long id) {
                    this.id = id;
                }

                public int getView_count() {
                    return view_count;
                }

                public void setView_count(int view_count) {
                    this.view_count = view_count;
                }

                public int getPrivacy() {
                    return privacy;
                }

                public void setPrivacy(int privacy) {
                    this.privacy = privacy;
                }

                public int getDay_count() {
                    return day_count;
                }

                public void setDay_count(int day_count) {
                    this.day_count = day_count;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public int getLiked_count() {
                    return liked_count;
                }

                public void setLiked_count(int liked_count) {
                    this.liked_count = liked_count;
                }

                public int getSpot_count() {
                    return spot_count;
                }

                public void setSpot_count(int spot_count) {
                    this.spot_count = spot_count;
                }

                public double getMileage() {
                    return mileage;
                }

                public void setMileage(double mileage) {
                    this.mileage = mileage;
                }


                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public double getLast_modified() {
                    return last_modified;
                }

                public void setLast_modified(double last_modified) {
                    this.last_modified = last_modified;
                }

                public boolean isIs_featured_trip() {
                    return is_featured_trip;
                }

                public void setIs_featured_trip(boolean is_featured_trip) {
                    this.is_featured_trip = is_featured_trip;
                }

                public String getCover_image_default() {
                    return cover_image_default;
                }

                public void setCover_image_default(String cover_image_default) {
                    this.cover_image_default = cover_image_default;
                }

                public float getDate_complete() {
                    return date_complete;
                }

                public void setDate_complete(float date_complete) {
                    this.date_complete = date_complete;
                }

                public int getDevice() {
                    return device;
                }

                public void setDevice(int device) {
                    this.device = device;
                }

                public float getDate_added() {
                    return date_added;
                }

                public void setDate_added(float date_added) {
                    this.date_added = date_added;
                }


                public String getCover_image_w640() {
                    return cover_image_w640;
                }

                public void setCover_image_w640(String cover_image_w640) {
                    this.cover_image_w640 = cover_image_w640;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public boolean isDefaultX() {
                    return defaultX;
                }

                public void setDefaultX(boolean defaultX) {
                    this.defaultX = defaultX;
                }

                public String getCover_image_1600() {
                    return cover_image_1600;
                }

                public void setCover_image_1600(String cover_image_1600) {
                    this.cover_image_1600 = cover_image_1600;
                }

                public boolean isIs_hot_trip() {
                    return is_hot_trip;
                }

                public void setIs_hot_trip(boolean is_hot_trip) {
                    this.is_hot_trip = is_hot_trip;
                }

                public int getRecommendations() {
                    return recommendations;
                }

                public void setRecommendations(int recommendations) {
                    this.recommendations = recommendations;
                }

                public String getCover_image() {
                    return cover_image;
                }

                public void setCover_image(String cover_image) {
                    this.cover_image = cover_image;
                }
            }
        }
    }
}
